package controller

import (
	"net/http"
	"suber-exporter/cmd"

	"github.com/gin-gonic/gin"
)

func GetAppMessage(ctx *gin.Context) {
	app := cmd.NewApp()
	ctx.JSON(http.StatusOK, gin.H{
		"app name": app.AppName,
		"describe": app.Describe,
		"version":  app.Version,
	})
}
